package com.bestow.basic.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 文件模板对象 hls_doc_file_templet
 * 
 * @author liliu
 * @date 2022-09-13
 */
@TableName("hls_doc_file_templet")
public class HlsDocFileTemplet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板id */
    @TableId(value = "templet_id")
    private Long templetId;

    /** 模板代码 */
    @Excel(name = "模板代码")
    private String templetCode;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templetName;

    /** 模板类型 */
    @Excel(name = "模板类型")
    private String templetType;

    /** 模板用途 */
    @Excel(name = "模板用途")
    private String usageCode;

    /** 签约类别 */
    @Excel(name = "签约类别")
    private String usageCategory;

    /** 说明 */
    @Excel(name = "说明")
    private String note;

    /** 启用 */
    @Excel(name = "启用")
    private String enabledFlag;

    public void setTempletId(Long templetId) 
    {
        this.templetId = templetId;
    }

    public Long getTempletId() 
    {
        return templetId;
    }
    public void setTempletCode(String templetCode) 
    {
        this.templetCode = templetCode;
    }

    public String getTempletCode() 
    {
        return templetCode;
    }
    public void setTempletName(String templetName) 
    {
        this.templetName = templetName;
    }

    public String getTempletName() 
    {
        return templetName;
    }
    public void setTempletType(String templetType) 
    {
        this.templetType = templetType;
    }

    public String getTempletType() 
    {
        return templetType;
    }
    public void setUsageCode(String usageCode) 
    {
        this.usageCode = usageCode;
    }

    public String getUsageCode() 
    {
        return usageCode;
    }
    public void setUsageCategory(String usageCategory) 
    {
        this.usageCategory = usageCategory;
    }

    public String getUsageCategory() 
    {
        return usageCategory;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setEnabledFlag(String enabledFlag) 
    {
        this.enabledFlag = enabledFlag;
    }

    public String getEnabledFlag() 
    {
        return enabledFlag;
    }

    /**模板类型描述*/
    private String templetTypeN;

    /**签约类型描述*/
    private String usageCategoryN;

    public String getTempletTypeN() {
        return templetTypeN;
    }

    public void setTempletTypeN(String templetTypeN) {
        this.templetTypeN = templetTypeN;
    }

    public String getUsageCategoryN() {
        return usageCategoryN;
    }

    public void setUsageCategoryN(String usageCategoryN) {
        this.usageCategoryN = usageCategoryN;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templetId", getTempletId())
            .append("templetCode", getTempletCode())
            .append("templetName", getTempletName())
            .append("templetType", getTempletType())
            .append("usageCode", getUsageCode())
            .append("usageCategory", getUsageCategory())
            .append("note", getNote())
            .append("enabledFlag", getEnabledFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("templetTypeN",getTempletTypeN())
            .append("usageCategoryN",getUsageCategoryN())
            .toString();
    }
}
